<script setup>
import { useSettingStore } from "@/store/setting"

const settingStore = useSettingStore()

const changeLayout = (layout) => {
  settingStore.setLayoutMode(layout)
}
</script>

<template>
  <button @click="changeLayout('Classic')">经典布局</button>
  <button @click="changeLayout('Streamline')">单栏布局</button>
</template>

<style scoped lang="scss"></style>
